]> dgit.raspbian.org Git - gnome-shell.git/commit
unlockDialog: Simplify sensitivity handling
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 19 Feb 2020 13:24:51 +0000 (14:24 +0100)
committerFlorian Müllner <florian.muellner@gmail.com>
Sun, 1 Mar 2020 01:21:04 +0000 (01:21 +0000)
commitc6cf81f28b20227c30eba8fc22da6e61e1cc83e6
treee19b96fc3f909794ccec5f7f162a7e25b49f15fe
parent104d1ae15140625d8c7e29a7bef5384eac81dbf3
unlockDialog: Simplify sensitivity handling

We only call _updateSensitivity() to make elements sensitive, and
nothing ever touches the sensitivity of the switch-user button; so
just call the corresponding authPrompt method directly, which is the
only bit that has an actual effect.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1029
js/ui/unlockDialog.js